<script>
	export default {
		onLaunch: function() {
			if (!uni.getStorageSync('name')) {
				uni.reLaunch({
					url: '/pages/login'
				})
			}
		}
	}
</script>

<style lang="less">
	@import './common/style/main.less';
	/*每个页面公共css */
	page {
		display: block;
		height: 100%;
		background-color: #ffffff;
		position: relative;
	}
</style>
<style lang="scss">
	@import "@/uni_modules/uview-ui/index.scss";
</style>